package com.sunshine.swagger.enums;

import lombok.Getter;

/**
 * @author WeiHong
 * @date 2019/8/14 16:07
 */
@Getter
public enum ResultEnum {
    OK("ok", "成功"),
    ERROR("error", "失败");

    private String code;
    private String msg;

    ResultEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
